// 入口文件
import Vue from 'vue'
//头部组件
import { Header } from 'mint-ui';
Vue.component(Header.name, Header);

import app from'./App.vue'  //拿到APP。vue 渲染她

import vueRouter from 'vue-router'//获取Vue组件
Vue.use(vueRouter)//注册组件
import router from './router.js'//入口组件

import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css' 




import 'mint-ui/lib/style.css'
import { Swipe, SwipeItem } from 'mint-ui'; //轮播图组件
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);


import VueResource from 'vue-resource'//ajax组件
Vue.use(VueResource)
var vm = new Vue({
    el:'#app',
    data:{},
    render:c => c(app),
    router
})
console.log(123)